<?php
/**
 * Reload Droplist with last created values
 * 
 */

use Hive\Education\Level;
use Fox\Generator;
use Fox\Html\DropList;

$levels =  Hive\Education\Level::loadActives();
$droplist= new DropList('scholar',true);
$droplist->options($levels,'level',Generator::call('label'));
return $droplist->renderOptions();